package com.itheima.mapper;

import com.github.pagehelper.Page;
import com.itheima.dto.StudentDto;
import com.itheima.pojo.Student;
import com.itheima.vo.StudentVo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface StudentMapper {
    Page<StudentVo> pageGet(StudentDto dto);


    void deteleByIds(Integer id);

    void insert(Student student);

    Student getById(Integer id);


    void updateById(Student student);


    void updateByCount(Integer id, Integer score);
}
